package com.psfd.demo.bean;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class Song {
    @TableId(type = IdType.AUTO)
    private Integer songId;
    private Integer singerId;
    private String name;
    private String location;

    @TableLogic  //逻辑删除
    private Integer deleted;
}
